1
00:00:06,980 --> 00:00:11,390
Well, let's see a few last helpful commands that will help us get around and do a few more advanced

2
00:00:11,390 --> 00:00:11,810
things.

3
00:00:12,590 --> 00:00:17,090
First of all, if you ever need help with a command, you can always use help.

4
00:00:21,510 --> 00:00:29,690
And the name of the clan, so help Kopi, help keep a copy and we'll give you the full help file for

5
00:00:29,700 --> 00:00:30,240
copy.

6
00:00:32,540 --> 00:00:40,010
You can also just use Kopi Slash Questionmark, that's equivalent to the dash dash and help is just

7
00:00:40,010 --> 00:00:46,340
like man or similar to the man for the manual command and Lennix help space in the name of the program,

8
00:00:47,270 --> 00:00:54,340
then copy or the name of the the name of the command line command that you want to use space slash.

9
00:00:54,440 --> 00:00:55,260
Questionmark.

10
00:00:55,850 --> 00:01:02,050
We'll do something similar so I can take my the name of my command space and into a question mark.

11
00:01:02,390 --> 00:01:08,150
That's the Windows equivalent of the dash dash help so you can find out more about any file that you

12
00:01:08,150 --> 00:01:11,660
want to use, any command that you want to use in the Windows command prompt.

13
00:01:12,320 --> 00:01:15,020
So we'll clear the screen one more time with CLX.

14
00:01:16,170 --> 00:01:21,720
And let's run the Pinkman, just like we did in Linux, in fact, it's the same command ping, Google,

15
00:01:21,720 --> 00:01:22,530
dotcom.

16
00:01:23,600 --> 00:01:28,760
And you may get an error like this sometimes when we've set up our virtual box, we need to refresh

17
00:01:28,760 --> 00:01:29,450
the networking.

18
00:01:29,780 --> 00:01:31,430
You need to check two quick things.

19
00:01:31,430 --> 00:01:34,660
First of all, make sure that you are connected to the mat.

20
00:01:35,660 --> 00:01:37,970
We'll do more with the networking in the next section.

21
00:01:38,240 --> 00:01:43,880
But for right now, make sure that you get your net connected and then come down to the bottom of your

22
00:01:43,880 --> 00:01:47,750
window and make sure that you've got the Connect Network adapter checked.

23
00:01:48,910 --> 00:01:54,850
You can double check your network settings, but that should be OK, then we're going to do an IP config

24
00:01:55,810 --> 00:01:58,870
and we'll check and well, reconnecting worked there.

25
00:01:59,200 --> 00:02:05,710
If you ever come in and you're not able to connect after toggling this Connect Network adapter on and

26
00:02:05,710 --> 00:02:12,340
off, then you can do an IP config slash renew in windows.

27
00:02:12,610 --> 00:02:18,100
So IP config is telling me that I have in fact the exact same IP address.

28
00:02:18,100 --> 00:02:23,080
That's because of the networking that we have set up right now by default and Oracle Virtual Locks.

29
00:02:23,080 --> 00:02:28,150
We're going to see how to repair that in our next section on the virtual network set up.

30
00:02:28,690 --> 00:02:30,910
But we have 10 to 15.

31
00:02:31,190 --> 00:02:33,340
And so now we're able to see out of the Internet.

32
00:02:33,340 --> 00:02:39,250
If I renew that IP address, it'll still come back with a 10 to 15.

33
00:02:39,250 --> 00:02:39,700
Good.

34
00:02:40,150 --> 00:02:48,010
Now close and I can ping Google dot com and now we get a response I can control see to quit.

35
00:02:48,250 --> 00:02:51,370
But by default, ping on windows will only do a count of four.

36
00:02:51,640 --> 00:02:53,050
It'll only do four pings.

37
00:02:53,440 --> 00:02:55,270
So we get a ping command.

38
00:02:55,270 --> 00:02:56,920
We've seen the IP config.

39
00:02:57,430 --> 00:03:01,870
We'll need these IP addresses later on and we'll be changing this network set up so that we'll have

40
00:03:01,870 --> 00:03:03,460
two different networks will connect to.

41
00:03:04,000 --> 00:03:09,760
But we can always find that with an IP config on Windows, I-F config on Linux.

42
00:03:09,760 --> 00:03:11,320
We know how to get help if we need it.

43
00:03:11,650 --> 00:03:12,640
We know how to ping.

44
00:03:13,780 --> 00:03:17,710
One last advanced command that's handy sometimes is to do the set.

45
00:03:17,710 --> 00:03:26,830
Command set is just like EMV on Linux, so it tells us all of our environment variables.

46
00:03:28,210 --> 00:03:31,150
So I can see my home path is users be paying.

47
00:03:32,180 --> 00:03:40,180
Well, one thing that we can't do is easily if I do, c.D, on Windows, it just tells me my current

48
00:03:40,180 --> 00:03:44,320
directory letting IP W.D. commanded back on Linux.

49
00:03:44,320 --> 00:03:49,870
It doesn't take me to my user directory like CD Space Center does on a Linux box.

50
00:03:50,290 --> 00:03:52,420
So there's no graceful way to do this.

51
00:03:52,420 --> 00:03:56,830
But I can use my user profile or my.

52
00:03:58,280 --> 00:04:04,320
Back up your home path and I just have to remember on Linux, we had to do a dollar sign before the

53
00:04:04,470 --> 00:04:09,200
environment, variable name and Windows, we have to surround it with eight percent symbols.

54
00:04:09,210 --> 00:04:15,930
So if I could get to the root of the file system and I want to get back into my users directory somewhat

55
00:04:15,930 --> 00:04:23,820
easily, I can QD space and then I can either percent user profile or home path.

56
00:04:24,340 --> 00:04:31,080
So if I could into user profile, that environment variable will then tell me that that's users big

57
00:04:31,080 --> 00:04:36,330
pain and I can also echo percent user profile.

58
00:04:38,730 --> 00:04:42,800
Percent and I can see that that's my home path as well.

59
00:04:43,890 --> 00:04:49,230
So some things are a little different in Lennox command line versus Windows, but we've seen that we

60
00:04:49,230 --> 00:04:54,810
can make our way around both these command line environments, check out the PDF file that has these

61
00:04:54,810 --> 00:04:58,890
two cheat sheets for you, for Linux and Windows quick commands.

62
00:04:58,890 --> 00:05:03,600
And we'll do a quick review and then we'll set up our virtual labs networking.

